#region Imports

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

using MetaSapiens.PageMethods;

#endregion Imports

public partial class FrmAddOrder_WithPageMethods : MetaSapiens.PageMethods.BasePage
{
		[PageMethod(true)]
		public void Display(int CustomerID, [ParamRequired] string ProductID)
		{
			// Validation is done automatically
			// Page processing can start immediately!

			Label1.Text = String.Format("Ready to add an order of product {0} for customer {1}.",
				ProductID, CustomerID);
		}
}
